home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Life 1997 February
/
Computer Life February 1997.iso
/
S
/
hunter
/
Product
/
SIERRA.INF
< prev
Wrap
INI File
|
1996-08-26
|
4KB
|
199 lines
[Setup]
SetupSize=900
BillboardSize=0
CanInstallDOS=No
[Requirements]
SetupVer=3.0.0.0
Colors=256
MemKB=7168
PhysicalMem=7168
SwapFile=7168
VideoSpeed=300
Wave=2
MIDI=1
CPU=Pentium-60
WinVer=395
ScreenWidth=640
ScreenHeight=480
Joystick=0
Printer=0
CDROM=2
[Ident]
Version=1000
ProductID=72117
[Dialogs]
BEGIN 0,NotifyInstallSystem
InstallSystem
1, NotifySysText
10, OKText
END
BEGIN 1,Register
Register
1, RegisterText1
12, YESText, (), FLAG8
13, NOText
END
BEGIN 2, Restart
Installation Complete
1, RestartPrompt1
1, RestartPrompt2
10, RestartNow, (), FLAG9
13, RestartLater
END
BEGIN 3, Done
AllDone
1, AllDoneText
10, OKText
END
BEGIN 4, FailedWin32s
FailTitleWin32s
1, FailTextWin32s
1, FailTextWin32sShare
1, FailTextWin32sShare1
1, FailTextWin32sShare2
1, FailTextWin32sShare3
1, FailTextWin32sShare4
1, FailTextWin32sShare5
10, OKText
END
BEGIN 5, FailedWinG
FailTitleWinG
1, FailTextWinG
10, OKText
END
BEGIN 6, FailedVFW
FailTitleVFW
1, FailTextVFW
10, OKText
END
BEGIN 7, FailedWinSpace
FailTitleWinSpace
1, FailTextWinSpace
1, FailTextWinSpace2
10, OKText
END
BEGIN 8, InstallType
InstallTypeTitle
1, InstallTypeText1
1, InstallTypeText2
1, InstallTypeText3
1, InstallTypeText5
1, InstallTypeText6
3, InstallTypePrompt1, (), FLAG20
3, InstallTypePrompt2, (), FLAG21
10, OKText
END
BEGIN 9, Restart2
Restart2
1, Restart2Text
10, OKText
END
[Script]
:Begin
;
; FLAG usage:
; FLAG0 - TRUE if not running NT or Win95
; FLAG7 - TRUE if user does not have enough disk space
; FLAG8 - TRUE if user wants to register product
; FLAG9 - TRUE if user wants to restart computer
; FLAG10 - TRUE if user is running WIN95
; FLAG11 - TRUE if user has an older version of DirectX
;
; FLAG20 - TRUE if user wants to run from the CD
; FLAG21 - TRUE if user wants to run from the hard drive
; FLAG22 - TRUE if user wants to temporarily run from the hard drive
;
; Determine if running on NT or Win95
NOTWINNT FLAG0
ONWIN95ONLY FLAG10
;
;
; Install DirectX for Windows95
FLAG10 VERSIONCHECK *SYSTEMDIR\DSOUND.DLL 4.02.0.0095 FLAG11
FLAG10 FLAG11 INSTALLDIRECTX
;
;
; Temporary code to handle case when the program is being installed
; from the build area on the network. This section of the script
; should never be ran if the program is being installed from a CD.
EXIST *SOURCEDIR\..\TOOLS\WINRME.EXE FLAG21
FLAG21 GOTO SetGroups
;
;
; Get type of install
:GetType
DIALOG InstallType
;
;
; Based on the flag set by the previous dialogs, toggle the appopriate groups on.
:SetGroups
FLAG21 TOGGLEGROUPON 10
;
;
; Pick destination directory.
:PickDest
PICKDEST End
;
;
; Copy all of the files to hard drive.
COPY
;
;
; Setup default configuration
ADDTOINI *WINDOWSDIR\SIERRA.INI, HuntDemo, InstallPath, *DESTDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, HuntDemo, CDPath, *SOURCEDIR\HuntDemo
ADDTOINI *DESTDIR\HUNTER.INI, HuntDemo, ArtSize, Medium.dat
FLAG21 ADDTOINI *DESTDIR\AUTORUN.INF, English, ProgramEXE, HuntDemo.exe
;
;
; Create "Sierra" group and add program icons
ADDPROGMANGROUP Sierra
ADDPROGMANITEM *SIERRADIR\SETUP.EXE, SetupTitle, ,*SIERRADIR
ADDPROGMANITEM *DESTDIR\AUTORUN.EXE, ProgManTitle, *DESTDIR\AUTORUN.EXE, *DESTDIR
;
;
; Does User want to register?
;
;DIALOG Register
;FLAG8 REGISTER
;
;
; If any system files were installed, user MUST restart their system.
FLAG1 GOTO AskRestart
FLAG3 GOTO AskRestart
FLAG5 GOTO AskRestart
FLAG10 FLAG11 GOTO AskRestart
DIALOG Done
GOTO End
;
;
; Prompt user that their system needs to be restarted.
:AskRestart
DIALOG Restart
FLAG9 RESTARTWINDOWS
DIALOG Restart2
GOTO End
;
;
:End
END
[Archives]
Hunter\,1,0,0
[Files]
;
; HuntDemo Hunted Files
; Only install resources if Large Install is selected.
;
*DESTDIR\AUTORUN.INF,NOARCHIVE,1,927,1
*DESTDIR\AUTORUN.EXE,NOARCHIVE,1,46592,1
*DESTDIR\RESOURCE.001,Hunter\,1,11448715,0,10
*DESTDIR\RESOURCE.MAP,Hunter\,1,3165,0,10
*DESTDIR\HUNTDEMO.EXE,Hunter\,1,524832,0,10
*DESTDIR\MEDIUM.DAT,Hunter\,1,7735604,0,10